package com.hxzy.jsp.application;

public class IndexJSP {
	private int counter = 0;
	private PageContext pageContext;
	
	public IndexJSP() {
		pageContext = new PageContext();
	}

	public void _jspInit() {
		System.out.println("初始化 jsp 对象");
	}

	public void _jspDestroy() {
		System.out.println("销毁 对象");
	}

	public void _jspService() {
		this.counter++;
		System.out.println("欢迎使用我们的系统：" + this.counter + ", object hashcode: " + this.hashCode());
	}

	public int getCount() {
		return counter;
	}

	public static final class PageContext {
		public Object application;
	}
}
